package com.zhonghui.wms.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhonghui.common.annotation.Excel;
import com.zhonghui.common.core.domain.BaseEntity;

/**
 * 移库信息对象 wms_relocation_information
 *
 * @author zhonghui
 * @date 2022-05-20
 */
@ApiModel("移库信息对象")
public class WmsRelocationInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 移库信息ID */
    @ApiModelProperty("编号")
    private Long id;


    /** 物料id */
    @Excel(name = "物料id")
    @ApiModelProperty("物料id")
    private Long materialId;

    /** 批号 */
    @Excel(name = "批号")
    @ApiModelProperty("批号")
    private String batchNumber;

    /** 原因 */
    @Excel(name = "原因")
    @ApiModelProperty("原因")
    private String reason;

    /** 源仓库 */
    @ApiModelProperty("源仓库")
    private Long sourceWarehouse;

    /** 源库区 */
    @ApiModelProperty("源库区")
    private Long sourceArea;

    /** 源库位 */
    @ApiModelProperty("源库位")
    private Long sourceSeat;

    /** 目标仓库 */
    @ApiModelProperty("目标仓库")
    private Long targetWarehouse;

    /** 目标库区 */
    @ApiModelProperty("目标库区")
    private Long targetArea;

    /** 目标库位 */
    @ApiModelProperty("目标库位")
    private Long targetSeat;

    /** 移库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("移库时间")
    private Date transferTime;

    /** 移库数量 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("移库数量")
    private Double relocationQuantity;

    /** 执行人 */
    @ApiModelProperty("执行人")
    private Long executor;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public String getBatchNumber() {
        return batchNumber;
    }

    public void setBatchNumber(String batchNumber) {
        this.batchNumber = batchNumber;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Long getSourceWarehouse() {
        return sourceWarehouse;
    }

    public void setSourceWarehouse(Long sourceWarehouse) {
        this.sourceWarehouse = sourceWarehouse;
    }

    public Long getSourceArea() {
        return sourceArea;
    }

    public void setSourceArea(Long sourceArea) {
        this.sourceArea = sourceArea;
    }

    public Long getSourceSeat() {
        return sourceSeat;
    }

    public void setSourceSeat(Long sourceSeat) {
        this.sourceSeat = sourceSeat;
    }

    public Long getTargetWarehouse() {
        return targetWarehouse;
    }

    public void setTargetWarehouse(Long targetWarehouse) {
        this.targetWarehouse = targetWarehouse;
    }

    public Long getTargetArea() {
        return targetArea;
    }

    public void setTargetArea(Long targetArea) {
        this.targetArea = targetArea;
    }

    public Long getTargetSeat() {
        return targetSeat;
    }

    public void setTargetSeat(Long targetSeat) {
        this.targetSeat = targetSeat;
    }

    public Date getTransferTime() {
        return transferTime;
    }

    public void setTransferTime(Date transferTime) {
        this.transferTime = transferTime;
    }

    public Double getRelocationQuantity() {
        return relocationQuantity;
    }

    public void setRelocationQuantity(Double relocationQuantity) {
        this.relocationQuantity = relocationQuantity;
    }

    public Long getExecutor() {
        return executor;
    }

    public void setExecutor(Long executor) {
        this.executor = executor;
    }

}
